package com.ruoyi.shopping.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品评价对象 jy_mall_comment
 *
 * @author scx
 * @date 2022-06-10
 */
@ApiModel
public class MallComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    /** 评价人id */
    @Excel(name = "评价人id")
    @ApiModelProperty(value = "评价人id")
    private Long memberId;

    /** 评价人昵称 */
    @Excel(name = "评价人昵称")
    @ApiModelProperty(value = "评价人昵称")
    private String memberNickName;

    /** 评价人头像 */
    @Excel(name = "评价人头像")
    @ApiModelProperty(value = "评价人头像")
    private String memberHeadImg;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String productName;

    /** 评价文字 */
    @Excel(name = "评价文字")
    @ApiModelProperty(value = "评价文字")
    private String commentContent;

    /** 评价图片 */
    @Excel(name = "评价图片")
    @ApiModelProperty(value = "评价图片")
    private String commentImages;

    /** 评价视频 */
    @Excel(name = "评价视频")
    @ApiModelProperty(value = "评价视频")
    private String commentVideo;

    private String videoCover;

    /** 平台回复文字 */
    @Excel(name = "平台回复文字")
    @ApiModelProperty(value = "平台回复文字")
    private String platformContent;

    /** 平台回复人id */
    @Excel(name = "平台回复人id")
    @ApiModelProperty(value = "平台回复人id")
    private Long platformUserId;

    /** 平台回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "平台回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "平台回复时间")
    private Date platformContentTime;

    /** 综合星级 */
    @Excel(name = "综合星级")
    @ApiModelProperty(value = "综合星级")
    private BigDecimal platformLevel;

    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setMemberNickName(String memberNickName)
    {
        this.memberNickName = memberNickName;
    }

    public String getMemberNickName()
    {
        return memberNickName;
    }
    public void setMemberHeadImg(String memberHeadImg)
    {
        this.memberHeadImg = memberHeadImg;
    }

    public String getMemberHeadImg()
    {
        return memberHeadImg;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setCommentContent(String commentContent)
    {
        this.commentContent = commentContent;
    }

    public String getCommentContent()
    {
        return commentContent;
    }
    public void setCommentImages(String commentImages)
    {
        this.commentImages = commentImages;
    }

    public String getCommentImages()
    {
        return commentImages;
    }
    public void setCommentVideo(String commentVideo)
    {
        this.commentVideo = commentVideo;
    }

    public String getCommentVideo()
    {
        return commentVideo;
    }
    public void setPlatformContent(String platformContent)
    {
        this.platformContent = platformContent;
    }

    public String getPlatformContent()
    {
        return platformContent;
    }
    public void setPlatformUserId(Long platformUserId)
    {
        this.platformUserId = platformUserId;
    }

    public Long getPlatformUserId()
    {
        return platformUserId;
    }
    public void setPlatformContentTime(Date platformContentTime)
    {
        this.platformContentTime = platformContentTime;
    }

    public Date getPlatformContentTime()
    {
        return platformContentTime;
    }
    public void setPlatformLevel(BigDecimal platformLevel)
    {
        this.platformLevel = platformLevel;
    }

    public BigDecimal getPlatformLevel()
    {
        return platformLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("memberId", getMemberId())
            .append("memberNickName", getMemberNickName())
            .append("memberHeadImg", getMemberHeadImg())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("commentContent", getCommentContent())
            .append("commentImages", getCommentImages())
            .append("commentVideo", getCommentVideo())
            .append("platformContent", getPlatformContent())
            .append("platformUserId", getPlatformUserId())
            .append("platformContentTime", getPlatformContentTime())
            .append("platformLevel", getPlatformLevel())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
